package com.ywg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 支付账号
 * @TableName payment_account
 */
@TableName(value ="payment_account")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PaymentAccount {
    /**
     * 
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 主体
     */
    @TableField(value = "owner")
    private String owner;

    /**
     * 方式，PaymentModeEnum
     */
    @TableField(value = "mode")
    private Integer mode;

    /**
     * 账号
     */
    @TableField(value = "account")
    private String account;

    /**
     * 状态，0:隐藏，1:显示
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;
}